# print(float(0))
# import random
# if float(0)==0:
#     print(333)
#     print(random.randint(0,1))
# a=[]
# a.append({1:2,3:4})
# print(a)
# mstr='a'+'-'+'b'
# a,b=mstr.split('-')
# print(a,b)
import redis
from app.extensions import pool
redis_store = redis.Redis(connection_pool=pool)
# sign = redis_store.lpush('url',1)
# sign = redis_store.lpush('url',2)
# redis_store.delete('url')
a=redis_store.lrange('url',0,2)
print(a[0].decode('utf-8'))